<meta charset="UTF-8">
<?php
include_once("functions/db_manipulate.php");
session_start();
if (isset($_SESSION['id'])) {
    unset($_SESSION['id']);
    session_destroy();
}

if (isset($_COOKIE['login']) or isset($_COOKIE['pass'])) {
    unset($_COOKIE['login']);
    unset($_COOKIE['pass']);
    setcookie("login", "asdf", time() - 3600);
    setcookie("pass", "", time() - 3600);
}

redirect("index.php");
?>